package com.wlps.vo.warehousecenter.warehoused;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * <p>
 *
 * </p>
 *
 * @author ZWYZY
 * @since 2020/8/5
 */
@ApiModel(value = "出库单确认Vo")
@Data
public class ReturnOutOfStockUpdateVo {
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")//数据库导出页面时json格式化
    @ApiModelProperty(value = "出库日期")
    @NotNull(message = "必须填出库日期")
    private Date date;
    @ApiModelProperty(value = "实际出库数量")
    @NotNull(message = "必须填实际出库数量")
    private Long actualVolume;
    @ApiModelProperty(value = "备注")
    private String remark;
}
